<template>
    <div class="step7_container">
        <div class="step7_title">
            任务发布成功将会生成一条发布记录,可前往发布记录中查看具体发布信息
        </div>
        <div style="border: 1px solid #eceeef">
            <table class="table_class" border="0" cellspacing="0" align="center" cellpadding="10px"
                style="border: 1px solid #eee;">
                <tbody>
                    <tr>
                        <td width="50%">系列名称</td>
                        <td id="cName" width="50%">-</td>
                    </tr>
                    <tr>
                        <td width="50%">发布类目</td>
                        <td id="totalFiles" width="50%">{{ releaseItem.seriesName }}</td>
                    </tr>
                    <tr>
                        <td>本次发布产品数量</td>
                        <td id="fileSize">{{ releaseItem.count }}</td>
                    </tr>
                    <tr>
                        <td>发布至</td>
                        <td id="uploading">{{ releaseInfo.common.releaseShopName }}</td>
                    </tr>
                    <tr>
                        <td>相关平台</td>
                        <td id="fileName">拼多多</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</template>

<script>
export default {
    props: {
        releaseInfo: {
            type: Object,
            default: {}
        },
        releaseItem: {
            type: Object,
            default: {}
        },
    },
    data() {
        return {
            tableData: []
        }
    },
    methods: {
        handleEmitData() {
            this.$emit('send', {a: 1, b:2});
        },
    }
}
</script>

<style scoped lang="scss">
.step7_container {
    .step7_title {
        background-color: #f9f9f9;
        padding: 20px;
        padding-left: 40px;
        margin: 10px;
        font-size: 18px;
    }
}

.table_class {

    width: 800px;
    margin: 50px auto;
    background-color: #fff;
    color: #5f5f5f;

    td {
        border: 1px solid #eee;
        text-align: center;
    }
}
</style>